/*
**
**			Heroes IV
**	  Copyright 2001, The 3DO Company
**
**      adv_ocean_bottle.cpp
*/

// kill the 255+ character identifier warning.  Templates tend to exceed that easily.
#include "precompiled.h"
#pragma warning( disable: 4786 )

#include "adv_ocean_bottle.h"

#include "adv_object_type.h"
#include "object_registration.h"

static t_object_registration<t_adv_ocean_bottle> k_registration( k_adv_object_ocean_bottle );


/*
** Ocean bottle.
*/
t_adv_ocean_bottle::t_adv_ocean_bottle( std::string const& model_name )
          : t_adv_sign( model_name )
{
}

void t_adv_ocean_bottle::activate_trigger( t_army* army, t_adv_map_point const& point, 
		                               t_direction direction, t_adventure_frame* frame )
{
	t_adv_sign::activate_trigger(army, point, direction, frame);

    destroy();
}
